﻿package com.mini.framework.bi.bpull.model;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class TFoot {
	
	private String id;
	
	private String name;
	
	private String unique;

	private List<List<String>> data;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUnique() {
		return unique;
	}

	public void setUnique(String unique) {
		this.unique = unique;
	}

	public List<List<String>> getData() {
		return data;
	}

	public void setData(List<List<String>> data) {
		this.data = data;
	}
	
	public void setData(String[] data){
		List<List<String>> datas = new ArrayList<List<String>>();
		List<String> dd = Arrays.asList(data);
		datas.add(dd);
		this.data = datas;
	}
	
	public void setDataList(List<String> data){
		List<List<String>> datas = new ArrayList<List<String>>();
		datas.add(data);
		this.data = datas;
	}
	
	
}
